package com.ych.modules.base.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ych.modules.base.dbEntity.TJobConcernEntity;
import com.ych.modules.base.dbEntity.TUserJobEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/8
 * Time: 16:44
 * Description:
 */
@Mapper
public interface TJobConcernMapper extends BaseMapper<TJobConcernEntity> {
    List<TUserJobEntity> listPersonConcernJob(@Param("userId") String userId, @Param("begin") int begin, @Param("end") int end);

    int listPersonConcernJobCount(@Param("userId") String userId, @Param("begin") int begin, @Param("end") int end);
}
